#define _CRT_SECURE_NO_WARNINGS
#include <climits>
class Solution {
    class Sum
    {
    public:
        Sum()
        {
            ret += i;
            i++;
        }
    };
public:
    int Sum_Solution(int n)
    {
        Sum s[n];
        return ret;
    }
private:
    static int i;
    static int ret;
};
int Solution::i = 1;
int Solution::ret = 0;